package com.product.statemachine.groupon.executor;


import com.product.statemachine.common.executor.DomainStateEventExecutor;
import com.product.statemachine.groupon.entity.GrouponEntity;
import com.product.statemachine.groupon.event.GrouponCompleteEvent;
import org.springframework.stereotype.Component;

/**
 * @author caoxingming
 */
@Component
public class GrouponCompleteEventExecutor implements DomainStateEventExecutor<GrouponEntity, GrouponCompleteEvent> {

    @Override
    public void before(GrouponEntity grouponEntity, GrouponCompleteEvent grouponCompleteEvent) {
    }

    @Override
    public void execute(GrouponEntity grouponEntity, GrouponCompleteEvent grouponCompleteEvent) {

    }

    @Override
    public void after(GrouponEntity grouponEntity, GrouponCompleteEvent grouponCompleteEvent) {

    }
}
